package com.xhwl.centiotdata.service.cent;

import com.xhwl.common.dto.cent.device.DeviceDTO;
import com.xhwl.common.pojo.ResultJson;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * Falcon.cao @Copyright (C), 2022, 兴海物联
 * Date: 2022/6/21 10:11
 * Description: 包信息
 */
@FeignClient(value = "CENT-SECURITY")
public interface ICentSecurityService {

    @RequestLine(value = "GET /security-service/camera/customization/subscribe")
    ResultJson subscribes(@Param("projectId") Integer projectId,@Param("type") Integer type);

    @RequestLine(value = "POST /security-service/camera/sync-crowding")
    void syncCrowdingDegree(@Param("dto") DeviceDTO dto);

    @RequestLine(value = "GET /security-service/camera/crowding-degree-config")
    ResultJson crowdingDegreeList(@Param("projectId") Integer projectId);

}
